<h2 class="page-name"><?php echo $title; ?></h2>
<div class="wrap_content">
    <div class="post-wrap">
        <?php if (count($news) > 0): ?>
            <ul>
                <?php
                foreach ($news as $new):
                    $this->load->view('news_content', array('new' => $new));
                endforeach;
                ?>
            </ul>
            <?php
        endif;
        echo (isset($pagination) && trim($pagination) != '') ? '<div class="pagination">' . $pagination . '</div>' : '';
        ?>
    </div>
</div>